[{"question-split": "train", "question": "what cities in arizona have the highest number of citizens", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what cities in state_name0 have the highest number of citizens", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what cities in arizona have the highest number of citizens | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 0}, {"question-split": "train", "question": "what cities in arizona have the highest populations", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what cities in state_name0 have the highest populations", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what cities in arizona have the highest populations | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 1}, {"question-split": "train", "question": "what is the most populous city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the most populous city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the most populous city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 2}, {"question-split": "train", "question": "what is the largest city in arizona by population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "minnesota"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the largest city in state_name0 by population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in arizona by population | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 3}, {"question-split": "train", "question": "what is the largest city of arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "kansas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the largest city of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the largest city of arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 4}, {"question-split": "train", "question": "what is the city in arizona with the largest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the city in state_name0 with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the city in arizona with the largest population | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 5}, {"question-split": "train", "question": "what is the most populous city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "wyoming"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the most populous city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the most populous city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 6}, {"question-split": "train", "question": "what is the size of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the size of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the size of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 7}, {"question-split": "train", "question": "what is the area of texas in square kilometers", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "maryland"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of state_name0 in square kilometers", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of texas in square kilometers | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 8}, {"question-split": "train", "question": "what is the size of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the size of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the size of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 9}, {"question-split": "train", "question": "what is the size of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the size of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the size of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 10}, {"question-split": "train", "question": "how many people are in the state of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "nevada"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people are in the state of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people are in the state of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 11}, {"question-split": "train", "question": "what can you tell me about the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "missouri"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what can you tell me about the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what can you tell me about the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 12}, {"question-split": "train", "question": "how many people are there in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people are there in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people are there in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 13}, {"question-split": "train", "question": "how many people are there in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people are there in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people are there in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 14}, {"question-split": "train", "question": "how many citizens in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many citizens in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many citizens in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 15}, {"question-split": "train", "question": "how many people stay in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "utah"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people stay in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people stay in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 16}, {"question-split": "train", "question": "how many citizens live in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many citizens live in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many citizens live in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 17}, {"question-split": "train", "question": "what is the state with the lowest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the lowest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the lowest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select min( statealias1.population ) from state as statealias1 ) ;", "id": 18}, {"question-split": "train", "question": "give me the cities in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "virginia"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "give me the cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "give me the cities in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 19}, {"question-split": "train", "question": "what cities are located in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what cities are located in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "what cities are located in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 20}, {"question-split": "train", "question": "what are the cities in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "what are the cities in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 21}, {"question-split": "train", "question": "give me the cities in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "give me the cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "give me the cities in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 22}, {"question-split": "train", "question": "what cities in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "what cities in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 23}, {"question-split": "train", "question": "give me the cities which are in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "give me the cities which are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "give me the cities which are in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 24}, {"question-split": "train", "question": "name the major lakes in california", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 AND LAKEalias0.STATE_NAME = \"california\" ;", "sentence_variables": [{"key": "state_name0", "value": "michigan"}], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 AND LAKEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "name the major lakes in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "california", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_in": "name the major lakes in california | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 where lakealias0.area > 750 and lakealias0.state_name = \"california\" ;", "id": 25}, {"question-split": "train", "question": "list the states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "question_template": "list the states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "list the states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 ;", "id": 26}, {"question-split": "train", "question": "give me all the states of usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "question_template": "give me all the states of usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "give me all the states of usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 ;", "id": 27}, {"question-split": "train", "question": "which states does the colorado river pass through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "missouri"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which states does the river_name0 river pass through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states does the colorado river pass through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 28}, {"question-split": "train", "question": "what are the states that the colorado run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "potomac"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what are the states that the river_name0 run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what are the states that the colorado run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 29}, {"question-split": "train", "question": "which state has the colorado river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "red"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which state has the river_name0 river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which state has the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 30}, {"question-split": "train", "question": "what states have rivers named colorado", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states have rivers named river_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states have rivers named colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 31}, {"question-split": "train", "question": "through which states does the colorado flow", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "through which states does the river_name0 flow", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "through which states does the colorado flow | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 32}, {"question-split": "train", "question": "what states are next to the colorado", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states are next to the river_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states are next to the colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 33}, {"question-split": "train", "question": "through which states does the colorado run", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "through which states does the river_name0 run", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "through which states does the colorado run | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 34}, {"question-split": "train", "question": "what states does the colorado river go through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "ohio"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 river go through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado river go through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 35}, {"question-split": "train", "question": "what state has the most people", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the most people", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most people | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 36}, {"question-split": "train", "question": "which state has the most people", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the most people", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most people | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 37}, {"question-split": "train", "question": "what is the most populous state in the us", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the most populous state in the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the most populous state in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 38}, {"question-split": "train", "question": "what state has the highest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the highest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the highest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 39}, {"question-split": "train", "question": "what is the biggest river in new york", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the biggest river in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the biggest river in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 40}, {"question-split": "train", "question": "what is the longest river that flows through new york", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the longest river that flows through state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that flows through new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 41}, {"question-split": "train", "question": "what are the biggest rivers in new york", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the biggest rivers in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what are the biggest rivers in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 42}, {"question-split": "train", "question": "how many rivers are there in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers are there in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers are there in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 43}, {"question-split": "train", "question": "how many rivers run through new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers run through state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers run through new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 44}, {"question-split": "train", "question": "how many rivers are found in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers are found in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers are found in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 45}, {"question-split": "train", "question": "how many rivers in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "washington"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 46}, {"question-split": "train", "question": "how many rivers are there in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "idaho"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers are there in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers are there in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 47}, {"question-split": "train", "question": "what are the neighboring states for maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "michigan"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the neighboring states for state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what are the neighboring states for maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 48}, {"question-split": "train", "question": "which states adjoin maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which states adjoin state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which states adjoin maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 49}, {"question-split": "train", "question": "states bordering maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "states bordering maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 50}, {"question-split": "train", "question": "which state border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "kentucky"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which state border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which state border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 51}, {"question-split": "train", "question": "what is the adjacent state of maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the adjacent state of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what is the adjacent state of maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 52}, {"question-split": "train", "question": "name all the rivers in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "name all the rivers in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "name all the rivers in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 53}, {"question-split": "train", "question": "what rivers flow through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what rivers flow through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers flow through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 54}, {"question-split": "train", "question": "what river flows through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "kansas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what river flows through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what river flows through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 55}, {"question-split": "train", "question": "what are the rivers in the state of texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the rivers in the state of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the rivers in the state of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 56}, {"question-split": "train", "question": "name the rivers in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "name the rivers in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "name the rivers in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 57}, {"question-split": "train", "question": "what are the rivers in the state of texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "indiana"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the rivers in the state of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the rivers in the state of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 58}, {"question-split": "train", "question": "what rivers flow through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "missouri"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what rivers flow through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers flow through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 59}, {"question-split": "train", "question": "what are the rivers of texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the rivers of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the rivers of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 60}, {"question-split": "train", "question": "which rivers are in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "which rivers are in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "which rivers are in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 61}, {"question-split": "train", "question": "which rivers flow through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "which rivers flow through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "which rivers flow through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 62}, {"question-split": "train", "question": "what is the river that cross over texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "ohio"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the river that cross over state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the river that cross over texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 63}, {"question-split": "train", "question": "what river flows through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what river flows through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what river flows through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 64}, {"question-split": "train", "question": "what river runs through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "virginia"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what river runs through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what river runs through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 65}, {"question-split": "train", "question": "what river runs through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what river runs through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what river runs through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 66}, {"question-split": "train", "question": "which state is dallas in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "kalamazoo"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "which state is city_name0 in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state is dallas in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 67}, {"question-split": "train", "question": "what states have a city named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have a city named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have a city named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 68}, {"question-split": "train", "question": "what state has the city dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "flint"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what state has the city city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the city dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 69}, {"question-split": "train", "question": "what states have towns named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "springfield"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have towns named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have towns named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 70}, {"question-split": "train", "question": "what state is dallas located in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "des moines"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what state is city_name0 located in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is dallas located in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 71}, {"question-split": "train", "question": "in which state is dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "rochester"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "in which state is city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "in which state is dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 72}, {"question-split": "train", "question": "which state is the city dallas located in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "denver"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "which state is the city city_name0 located in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state is the city dallas located in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 73}, {"question-split": "train", "question": "what states in the united states have a city of dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "springfield"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states in the united states have a city of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states in the united states have a city of dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 74}, {"question-split": "train", "question": "what is the population of the largest state", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population of the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 75}, {"question-split": "train", "question": "how big is the city of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "new york"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how big is the city of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how big is the city of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 76}, {"question-split": "train", "question": "population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 77}, {"question-split": "train", "question": "what is the population in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boston"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 78}, {"question-split": "train", "question": "people in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "people in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "people in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 79}, {"question-split": "train", "question": "how many people in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many people in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 80}, {"question-split": "train", "question": "how many inhabitants does chicago have", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "montgomery"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many inhabitants does city_name0 have", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many inhabitants does chicago have | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 81}, {"question-split": "train", "question": "number of citizens in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "number of citizens in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "number of citizens in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 82}, {"question-split": "train", "question": "how many citizens in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many citizens in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many citizens in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 83}, {"question-split": "train", "question": "which state has the longest river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which state has the longest river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the longest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 84}, {"question-split": "train", "question": "what are the states through which the longest river runs", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what are the states through which the longest river runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the states through which the longest river runs | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 85}, {"question-split": "train", "question": "which states does the longest river cross", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which states does the longest river cross", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states does the longest river cross | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 86}, {"question-split": "train", "question": "what is the population density of the smallest state", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population density of the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population density of the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 87}, {"question-split": "train", "question": "which states have points that are higher than the highest point in colorado", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"colorado\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "which states have points that are higher than the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states have points that are higher than the highest point in colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation > ( select highlowalias1.highest_elevation from highlow as highlowalias1 where highlowalias1.state_name = \"colorado\" ) ;", "id": 88}, {"question-split": "train", "question": "what states high point are higher than that of colorado", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"colorado\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what states high point are higher than that of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name ( high point ) , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states high point are higher than that of colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name ( high point ) , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation > ( select highlowalias1.highest_elevation from highlow as highlowalias1 where highlowalias1.state_name = \"colorado\" ) ;", "id": 89}, {"question-split": "train", "question": "how high is the highest point in new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how high is the highest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "how high is the highest point in new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 90}, {"question-split": "train", "question": "what is the longest river in america", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the longest river in america", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in america | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 91}, {"question-split": "train", "question": "name the longest river in us", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "name the longest river in us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "name the longest river in us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 92}, {"question-split": "train", "question": "what river is the longest one in the united states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what river is the longest one in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river is the longest one in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 93}, {"question-split": "train", "question": "what is the longest river in the us", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the longest river in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 94}, {"question-split": "train", "question": "what is the longest river", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the longest river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 95}, {"question-split": "train", "question": "what is the longest river in the united states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the longest river in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 96}, {"question-split": "train", "question": "what state has the largest city", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what state has the largest city", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest city | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 97}, {"question-split": "train", "question": "which state has the largest city", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "which state has the largest city", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the largest city | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 98}, {"question-split": "train", "question": "what state has the city with the most population", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what state has the city with the most population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the city with the most population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 99}, {"question-split": "train", "question": "what is the biggest state in continental us", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the biggest state in continental us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest state in continental us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 100}, {"question-split": "train", "question": "state the state with the largest area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "state the state with the largest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "state the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 101}, {"question-split": "train", "question": "what is the largest state in usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the largest state in usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the largest state in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 102}, {"question-split": "train", "question": "what is the biggest state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the biggest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 103}, {"question-split": "train", "question": "what is the biggest state in the usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the biggest state in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the biggest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 104}, {"question-split": "train", "question": "give me the largest state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "give me the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "give me the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 105}, {"question-split": "train", "question": "what is the largest state in the us", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the largest state in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the largest state in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 106}, {"question-split": "train", "question": "what is the largest state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 107}, {"question-split": "train", "question": "what are the high points of states surrounding mississippi", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what are the high points of states surrounding state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the high points of states surrounding mississippi | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"mississippi\" ) ;", "id": 108}, {"question-split": "train", "question": "what state has the sparsest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the sparsest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the sparsest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 109}, {"question-split": "train", "question": "which state has the sparsest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the sparsest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the sparsest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 110}, {"question-split": "train", "question": "what state has the least population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the least population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the least population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 111}, {"question-split": "train", "question": "which state has the least population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the least population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the least population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 112}, {"question-split": "train", "question": "what state has the smallest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the smallest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the smallest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 113}, {"question-split": "train", "question": "what is the highest mountain in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest mountain in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest mountain in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 114}, {"question-split": "train", "question": "could you tell me what is the highest point in the state of montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "oregon"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "could you tell me what is the highest point in the state of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "could you tell me what is the highest point in the state of montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 115}, {"question-split": "train", "question": "what is the highest mountain in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest mountain in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest mountain in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 116}, {"question-split": "train", "question": "name the states which have no surrounding states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "question_template": "name the states which have no surrounding states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "name the states which have no surrounding states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name not in ( select border_infoalias0.state_name from border_info as border_infoalias0 ) ;", "id": 117}, {"question-split": "train", "question": "which states border no other states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "question_template": "which states border no other states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states border no other states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name not in ( select border_infoalias0.state_name from border_info as border_infoalias0 ) ;", "id": 118}, {"question-split": "train", "question": "what state borders most other states", "query": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "question_template": "what state borders most other states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders most other states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select derived_tablealias1.state_name from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select border_infoalias1.state_name, count( distinct border_infoalias1.border ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.state_name ) as derived_tablealias1 ) ;", "id": 119}, {"question-split": "train", "question": "what state borders most other states", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "question_template": "what state borders most other states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders most other states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ;", "id": 120}, {"question-split": "train", "question": "what is the elevation of the highest point in the usa", "query": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "what is the elevation of the highest point in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the elevation of the highest point in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select max( highlowalias0.highest_elevation ) from highlow as highlowalias0 ;", "id": 121}, {"question-split": "train", "question": "what is the height of the highest point in the usa", "query": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "what is the height of the highest point in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the height of the highest point in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select max( highlowalias0.highest_elevation ) from highlow as highlowalias0 ;", "id": 122}, {"question-split": "train", "question": "how long is the colorado", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 123}, {"question-split": "train", "question": "how long is the colorado river in miles", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0 river in miles", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado river in miles | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 124}, {"question-split": "train", "question": "how long is colorado", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "rio grande"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is river_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 125}, {"question-split": "train", "question": "how many cities does the usa have", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "question_template": "how many cities does the usa have", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many cities does the usa have | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 ;", "id": 126}, {"question-split": "train", "question": "how many cities are there in the us", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "question_template": "how many cities are there in the us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many cities are there in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 ;", "id": 127}, {"question-split": "train", "question": "how many cities are there in usa", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "question_template": "how many cities are there in usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many cities are there in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 ;", "id": 128}, {"question-split": "train", "question": "how many cities are there in us", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "question_template": "how many cities are there in us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many cities are there in us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 ;", "id": 129}, {"question-split": "train", "question": "how many major cities are there", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "question_template": "how many major cities are there", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many major cities are there | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 ;", "id": 130}, {"question-split": "train", "question": "how many rivers are called colorado", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many rivers are called river_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how many rivers are called colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 131}, {"question-split": "train", "question": "how large is the largest city in new york", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"new york\" ) AND CITYalias0.STATE_NAME = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how large is the largest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how large is the largest city in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"new york\" ) and cityalias0.state_name = \"new york\" ;", "id": 132}, {"question-split": "train", "question": "what is the size of the capital of texas", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the size of the capital of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the size of the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = ( select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ) ;", "id": 133}, {"question-split": "train", "question": "what is the combined population of all 50 states", "query": "SELECT SUM( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "question_template": "what is the combined population of all 50 states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the combined population of all 50 states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.population ) from state as statealias0 ;", "id": 134}, {"question-split": "train", "question": "how many states are in the united states", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states are in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states are in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 135}, {"question-split": "train", "question": "how many states are there in united states", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states are there in united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states are there in united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 136}, {"question-split": "train", "question": "what is the number of neighboring states for iowa", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "kentucky"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the number of neighboring states for state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the number of neighboring states for iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = \"iowa\" ;", "id": 137}, {"question-split": "train", "question": "what major rivers run through florida", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what major rivers run through state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "what major rivers run through florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length > 750 and riveralias0.traverse = \"florida\" ;", "id": 138}, {"question-split": "train", "question": "what is capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 139}, {"question-split": "train", "question": "what is the capital of the state texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of the state state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of the state texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 140}, {"question-split": "train", "question": "can you tell me the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "can you tell me the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "can you tell me the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 141}, {"question-split": "train", "question": "what are the capital cities of the states which border missouri", "query": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"missouri\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what are the capital cities of the states which border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "missouri", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_in": "what are the capital cities of the states which border missouri | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"missouri\" and statealias0.state_name = border_infoalias0.border ;", "id": 142}, {"question-split": "train", "question": "what are the capitals of the states that border missouri", "query": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"missouri\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what are the capitals of the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "missouri", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_in": "what are the capitals of the states that border missouri | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"missouri\" and statealias0.state_name = border_infoalias0.border ;", "id": 143}, {"question-split": "train", "question": "which capitals are in the states that border missouri", "query": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"missouri\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "which capitals are in the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "missouri", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_in": "which capitals are in the states that border missouri | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"missouri\" and statealias0.state_name = border_infoalias0.border ;", "id": 144}, {"question-split": "train", "question": "show major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "show major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "show major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 145}, {"question-split": "train", "question": "what are the names of the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the names of the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the names of the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 146}, {"question-split": "train", "question": "what are the major cities of alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities of alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 147}, {"question-split": "train", "question": "what is the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what is the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 148}, {"question-split": "train", "question": "what are the major cities of the united states", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "question_template": "what are the major cities of the united states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major cities of the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 ;", "id": 149}, {"question-split": "train", "question": "what are the major cities of the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "question_template": "what are the major cities of the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major cities of the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 ;", "id": 150}, {"question-split": "train", "question": "what are the populations of the states through which the mississippi runs", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of the states through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of the states through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 151}, {"question-split": "train", "question": "what are the populations of states through which the mississippi river runs", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of states through which the river_name0 river runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of states through which the mississippi river runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 152}, {"question-split": "train", "question": "what are the populations of the states through which the mississippi run", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of the states through which the river_name0 run", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of the states through which the mississippi run | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 153}, {"question-split": "train", "question": "what are the populations of the states through which the mississippi river run", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of the states through which the river_name0 river run", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of the states through which the mississippi river run | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 154}, {"question-split": "train", "question": "what are the populations of states through which the mississippi run", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of states through which the river_name0 run", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of states through which the mississippi run | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 155}, {"question-split": "train", "question": "what are the populations of the states through which the mississippi river runs", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of the states through which the river_name0 river runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of the states through which the mississippi river runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 156}, {"question-split": "train", "question": "what are the populations of all the major cities in texas", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the populations of all the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the populations of all the major cities in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"texas\" ;", "id": 157}, {"question-split": "train", "question": "what is the population of the major cities in texas", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "wisconsin"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the population of the major cities in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"texas\" ;", "id": 158}, {"question-split": "train", "question": "what is the biggest city in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the biggest city in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the biggest city in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 159}, {"question-split": "train", "question": "whats the largest city", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "whats the largest city", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "whats the largest city | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 160}, {"question-split": "train", "question": "what city has the largest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what city has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what city has the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 161}, {"question-split": "train", "question": "what is the biggest city in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the biggest city in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest city in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 162}, {"question-split": "train", "question": "what is the biggest city in usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the biggest city in usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the biggest city in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 163}, {"question-split": "train", "question": "what is the largest state capital in population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is the largest state capital in population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the largest state capital in population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 164}, {"question-split": "train", "question": "what is the largest capital", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is the largest capital", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the largest capital | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 165}, {"question-split": "train", "question": "what is the most populated capital in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is the most populated capital in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the most populated capital in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 166}, {"question-split": "train", "question": "what capital is the largest in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what capital is the largest in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what capital is the largest in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 167}, {"question-split": "train", "question": "what capital has the largest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what capital has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what capital has the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 168}, {"question-split": "train", "question": "what is largest capital", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is largest capital", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is largest capital | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 169}, {"question-split": "train", "question": "what is the area of all the states combined", "query": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the area of all the states combined", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of all the states combined | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.area ) from state as statealias0 ;", "id": 170}, {"question-split": "train", "question": "how many square kilometers in the us", "query": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "how many square kilometers in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many square kilometers in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.area ) from state as statealias0 ;", "id": 171}, {"question-split": "train", "question": "what is the total area of the usa", "query": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the total area of the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the total area of the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select sum( statealias0.area ) from state as statealias0 ;", "id": 172}, {"question-split": "train", "question": "what is the density of new york", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the density of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the density of new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.state_name = \"new york\" ;", "id": 173}, {"question-split": "train", "question": "what is the tallest mountain in america", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "what is the tallest mountain in america", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the tallest mountain in america | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 174}, {"question-split": "train", "question": "what is the tallest mountain in the united states", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "what is the tallest mountain in the united states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the tallest mountain in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 175}, {"question-split": "train", "question": "what is the highest point in the state with the capital austin", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ) ;", "sentence_variables": [{"key": "capital0", "value": "des moines"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ;", "question_template": "what is the highest point in the state with the capital capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what is the highest point in the state with the capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ) ;", "id": 176}, {"question-split": "train", "question": "what is the highest point in the country", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the highest point in the country", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the country | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 177}, {"question-split": "train", "question": "what is the highest point in the us", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the highest point in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 178}, {"question-split": "train", "question": "what is the highest point in the united states", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the highest point in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 179}, {"question-split": "train", "question": "what is the biggest city in the smallest state", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the biggest city in the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest city in the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ) and cityalias0.state_name in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select min( statealias3.area ) from state as statealias3 ) ) ;", "id": 180}, {"question-split": "train", "question": "what state that borders arkansas is the largest", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what state that borders state_name0 is the largest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what state that borders arkansas is the largest | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"arkansas\" ) ;", "id": 181}, {"question-split": "train", "question": "what state that borders arkansas is the largest", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "question_template": "what state that borders state_name0 is the largest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what state that borders arkansas is the largest | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) order by statealias0.area desc limit 1 ;", "id": 182}, {"question-split": "train", "question": "what state that borders arkansas is the largest", "query": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what state that borders state_name0 is the largest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what state that borders arkansas is the largest | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"arkansas\" and statealias0.area = ( select max( statealias1.area ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"arkansas\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 183}, {"question-split": "train", "question": "what is the length of the river that traverses the most states", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what is the length of the river that traverses the most states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the length of the river that traverses the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = ( select river_name from ( select count( 1 ) as derived_fieldalias0, riveralias1.river_name from river as riveralias1 group by riveralias1.river_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1, riveralias2.river_name from river as riveralias2 group by riveralias2.river_name ) as derived_tablealias1 ) ) ;", "id": 184}, {"question-split": "train", "question": "what is the length of the river that runs through the most number of states", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what is the length of the river that runs through the most number of states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the length of the river that runs through the most number of states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = ( select river_name from ( select count( 1 ) as derived_fieldalias0, riveralias1.river_name from river as riveralias1 group by riveralias1.river_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1, riveralias2.river_name from river as riveralias2 group by riveralias2.river_name ) as derived_tablealias1 ) ) ;", "id": 185}, {"question-split": "train", "question": "what is the longest river that runs through a state that borders nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nebraska\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nebraska\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "tennessee"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the longest river that runs through a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that runs through a state that borders nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nebraska\" ) ) and riveralias0.traverse in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nebraska\" ) ;", "id": 186}, {"question-split": "train", "question": "what is the longest river that runs through a state that borders nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"nebraska\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "tennessee"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "question_template": "what is the longest river that runs through a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that runs through a state that borders nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from border_info as border_infoalias0, river as riveralias0 where border_infoalias0.border = \"nebraska\" and riveralias0.traverse = border_infoalias0.state_name order by riveralias0.length desc limit 1 ;", "id": 187}, {"question-split": "train", "question": "what is the lowest point of arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point of arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 188}, {"question-split": "train", "question": "where is the lowest spot in arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is the lowest spot in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "where is the lowest spot in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 189}, {"question-split": "train", "question": "what is the lowest point in the united states", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the lowest point in the united states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the lowest point in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 190}, {"question-split": "train", "question": "where is the lowest point in the us", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "where is the lowest point in the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is the lowest point in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 191}, {"question-split": "train", "question": "what is the lowest point of the us", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the lowest point of the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the lowest point of the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 192}, {"question-split": "train", "question": "which is the lowest point of the states that the colorado runs through", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ) ORDER BY HIGHLOWalias0.LOWEST_ELEVATION LIMIT 1 ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ORDER BY HIGHLOWalias0.LOWEST_ELEVATION LIMIT 1 ;", "question_template": "which is the lowest point of the states that the river_name0 runs through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which is the lowest point of the states that the colorado runs through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ) order by highlowalias0.lowest_elevation limit 1 ;", "id": 193}, {"question-split": "train", "question": "which state has the greatest density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the greatest density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the greatest density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 194}, {"question-split": "train", "question": "what state has the highest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the highest population density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the highest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 195}, {"question-split": "train", "question": "what state has the greatest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the greatest population density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the greatest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 196}, {"question-split": "train", "question": "what state has the largest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the largest population density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 197}, {"question-split": "train", "question": "what is the state with the largest density in usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the largest density in usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the state with the largest density in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 198}, {"question-split": "train", "question": "what is the state with the largest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the largest population density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the largest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 199}, {"question-split": "train", "question": "which state has the largest density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the largest density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the largest density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 200}, {"question-split": "train", "question": "what state which the mississippi runs through has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what state which the river_name0 runs through has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what state which the mississippi runs through has the largest population | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) and statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) ;", "id": 201}, {"question-split": "train", "question": "what state which the mississippi runs through has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what state which the river_name0 runs through has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what state which the mississippi runs through has the largest population | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) order by statealias0.population desc limit 1 ;", "id": 202}, {"question-split": "train", "question": "how many people live in the state with the largest population density", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "how many people live in the state with the largest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people live in the state with the largest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 203}, {"question-split": "train", "question": "what city has the least population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what city has the least population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what city has the least population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 ) ;", "id": 204}, {"question-split": "train", "question": "what is the city with the smallest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the city with the smallest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the city with the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 ) ;", "id": 205}, {"question-split": "train", "question": "what is the smallest state that borders wyoming", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"wyoming\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"wyoming\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the smallest state that borders state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "wyoming", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_in": "what is the smallest state that borders wyoming | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"wyoming\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"wyoming\" ) ;", "id": 206}, {"question-split": "train", "question": "which state has the smallest area that borders wyoming", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"wyoming\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"wyoming\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "which state has the smallest area that borders state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "wyoming", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_in": "which state has the smallest area that borders wyoming | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"wyoming\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"wyoming\" ) ;", "id": 207}, {"question-split": "train", "question": "what is the smallest state in the usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the smallest state in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the smallest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 208}, {"question-split": "train", "question": "what is the smallest state by area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the smallest state by area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest state by area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 209}, {"question-split": "train", "question": "what state has the smallest area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the smallest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the smallest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 210}, {"question-split": "train", "question": "what river traverses the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "what river traverses the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river traverses the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 211}, {"question-split": "train", "question": "which river runs through the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "which river runs through the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which river runs through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 212}, {"question-split": "train", "question": "what river runs through the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "what river runs through the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river runs through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 213}, {"question-split": "train", "question": "which rivers run through states bordering texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "which rivers run through states bordering state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "which rivers run through states bordering texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ;", "id": 214}, {"question-split": "train", "question": "what rivers flow through states that texas borders", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what rivers flow through states that state_name0 borders", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers flow through states that texas borders | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ;", "id": 215}, {"question-split": "train", "question": "what state that borders nevada has the highest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what state that borders state_name0 has the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state that borders nevada has the highest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) order by statealias0.population desc limit 1 ;", "id": 216}, {"question-split": "train", "question": "what state that borders nevada has the highest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what state that borders state_name0 has the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state that borders nevada has the highest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nevada\" ) ;", "id": 217}, {"question-split": "train", "question": "what state that borders nevada has the highest population", "query": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what state that borders state_name0 has the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state that borders nevada has the highest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"nevada\" and statealias0.population = ( select max( statealias1.population ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"nevada\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 218}, {"question-split": "train", "question": "what is the most populated state bordering nevada", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "oklahoma"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what is the most populated state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what is the most populated state bordering nevada | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) order by statealias0.population desc limit 1 ;", "id": 219}, {"question-split": "train", "question": "what is the most populated state bordering nevada", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "oklahoma"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the most populated state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what is the most populated state bordering nevada | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nevada\" ) ;", "id": 220}, {"question-split": "train", "question": "what is the most populated state bordering nevada", "query": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "oklahoma"}], "sql_template": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what is the most populated state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what is the most populated state bordering nevada | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"nevada\" and statealias0.population = ( select max( statealias1.population ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"nevada\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 221}, {"question-split": "train", "question": "which states border states through which the ohio traverses", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"ohio\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "which states border states through which the river_name0 traverses", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "ohio", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_in": "which states border states through which the ohio traverses | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"ohio\" ) ;", "id": 222}, {"question-split": "train", "question": "what states border states which the ohio runs through", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"ohio\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what states border states which the river_name0 runs through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "ohio", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_in": "what states border states which the ohio runs through | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"ohio\" ) ;", "id": 223}, {"question-split": "train", "question": "what are the states that border the state with the greatest population", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what are the states that border the state with the greatest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the states that border the state with the greatest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ;", "id": 224}, {"question-split": "train", "question": "what are the states that border the state with the greatest population", "query": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what are the states that border the state with the greatest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the states that border the state with the greatest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.state_name from border_info as border_infoalias0, state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) and statealias0.state_name = border_infoalias0.border ;", "id": 225}, {"question-split": "train", "question": "what states border the states with the most cities", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what states border the states with the most cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the states with the most cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select derived_tablealias0.state_name from ( select cityalias0.state_name, count( 1 ) as derived_fieldalias0 from city as cityalias0 group by cityalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1 from city as cityalias1 group by cityalias1.state_name ) as derived_tablealias1 ) ) ;", "id": 226}, {"question-split": "train", "question": "which state has the highest peak in the country", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "which state has the highest peak in the country", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the highest peak in the country | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 227}, {"question-split": "train", "question": "what rivers do not run through texas", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "tennessee"}], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) ;", "question_template": "what rivers do not run through state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers do not run through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.river_name not in ( select riveralias1.river_name from river as riveralias1 where riveralias1.traverse = \"texas\" ) ;", "id": 228}, {"question-split": "train", "question": "what rivers run through the states that border the state with the capital austin", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ) ) ;", "sentence_variables": [{"key": "capital0", "value": "atlanta"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ) ;", "question_template": "what rivers run through the states that border the state with the capital capital0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what rivers run through the states that border the state with the capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ) ) ;", "id": 229}, {"question-split": "train", "question": "what state has the highest elevation", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what state has the highest elevation", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the highest elevation | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 230}, {"question-split": "train", "question": "in which state does the highest point in usa exist", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "in which state does the highest point in usa exist", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "in which state does the highest point in usa exist | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 231}, {"question-split": "train", "question": "what state has highest elevation", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what state has highest elevation", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has highest elevation | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 232}, {"question-split": "train", "question": "what is the state with the highest elevation in the united states", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the state with the highest elevation in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the highest elevation in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 233}, {"question-split": "train", "question": "what is the state that contains the highest point", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the state that contains the highest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state that contains the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 234}, {"question-split": "train", "question": "what state contains the highest point in the us", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what state contains the highest point in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state contains the highest point in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 235}, {"question-split": "train", "question": "what is the name of the state with the lowest point", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the name of the state with the lowest point", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the name of the state with the lowest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 236}, {"question-split": "train", "question": "what is the state with the lowest point", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the state with the lowest point", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the lowest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 237}, {"question-split": "train", "question": "what state has the most major rivers running through it", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "what state has the most major rivers running through it", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most major rivers running through it | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 238}, {"question-split": "train", "question": "in what state is mount mckinley", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mckinley\" ;", "sentence_variables": [{"key": "mountain_name0", "value": "mckinley"}], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mountain_name0\" ;", "question_template": "in what state is mount mountain_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mckinley", "location": "both", "name": "mountain_name0", "type": "mountain_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "in what state is mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_name = \"mckinley\" ;", "id": 239}, {"question-split": "train", "question": "where is mount mckinley", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mckinley\" ;", "sentence_variables": [{"key": "mountain_name0", "value": "whitney"}], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mountain_name0\" ;", "question_template": "where is mount mountain_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mckinley", "location": "both", "name": "mountain_name0", "type": "mountain_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_name = \"mckinley\" ;", "id": 240}, {"question-split": "train", "question": "where is mount mckinley located", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mckinley\" ;", "sentence_variables": [{"key": "mountain_name0", "value": "whitney"}], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mountain_name0\" ;", "question_template": "where is mount mountain_name0 located", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mckinley", "location": "both", "name": "mountain_name0", "type": "mountain_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is mount mckinley located | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_name = \"mckinley\" ;", "id": 241}, {"question-split": "train", "question": "what states have rivers running through them", "query": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ;", "question_template": "what states have rivers running through them", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have rivers running through them | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.traverse from river as riveralias0 ;", "id": 242}, {"question-split": "train", "question": "which states have a major city named austin", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"austin\" AND CITYalias0.POPULATION > 150000 ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND CITYalias0.POPULATION > 150000 ;", "question_template": "which states have a major city named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "which states have a major city named austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"austin\" and cityalias0.population > 150000 ;", "id": 243}, {"question-split": "train", "question": "what is the largest city in a state that borders texas", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the largest city in a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in a state that borders texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ) and cityalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"texas\" ) ;", "id": 244}, {"question-split": "train", "question": "what is the largest city in a state that borders texas", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"texas\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = \"state_name0\" ) ;", "question_template": "what is the largest city in a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in a state that borders texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select border_infoalias0.state_name from border_info as border_infoalias0 where border_infoalias0.border = \"texas\" ) ) and cityalias0.state_name in ( select border_infoalias1.state_name from border_info as border_infoalias1 where border_infoalias1.border = \"texas\" ) ;", "id": 245}, {"question-split": "train", "question": "what is the largest city in states that border texas", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the largest city in states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in states that border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ) and cityalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"texas\" ) ;", "id": 246}, {"question-split": "train", "question": "what is the largest city in states that border texas", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"texas\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" ) ) AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = \"state_name0\" ) ;", "question_template": "what is the largest city in states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in states that border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select border_infoalias0.state_name from border_info as border_infoalias0 where border_infoalias0.border = \"texas\" ) ) and cityalias0.state_name in ( select border_infoalias1.state_name from border_info as border_infoalias1 where border_infoalias1.border = \"texas\" ) ;", "id": 247}, {"question-split": "train", "question": "how many rivers do not traverse the state with the capital albany", "query": "SELECT COUNT( DISTINCT RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"albany\" ) ) ;", "sentence_variables": [{"key": "capital0", "value": "albany"}], "sql_template": "SELECT COUNT( DISTINCT RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ) ;", "question_template": "how many rivers do not traverse the state with the capital capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "albany", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( albany ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( albany ) , density", "seq_in": "how many rivers do not traverse the state with the capital albany | geoquery | border_info : state_name , border | city : city_name ( albany ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( albany ) , density", "seq_out": "geoquery | select count( distinct riveralias0.river_name ) from river as riveralias0 where riveralias0.river_name not in ( select riveralias1.river_name from river as riveralias1 where riveralias1.traverse in ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"albany\" ) ) ;", "id": 248}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"iowa\" ) AND RIVERalias0.TRAVERSE = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"iowa\" ) and riveralias0.traverse = \"iowa\" ;", "id": 249}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"iowa\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"iowa\" order by riveralias0.length limit 1 ;", "id": 250}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"iowa\" ) AND RIVERalias0.TRAVERSE = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"iowa\" ) and riveralias0.traverse = \"iowa\" ;", "id": 251}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"iowa\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"iowa\" order by riveralias0.length limit 1 ;", "id": 252}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"iowa\" ) AND RIVERalias0.TRAVERSE = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"iowa\" ) and riveralias0.traverse = \"iowa\" ;", "id": 253}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"iowa\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"iowa\" order by riveralias0.length limit 1 ;", "id": 254}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"iowa\" ) AND RIVERalias0.TRAVERSE = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"iowa\" ) and riveralias0.traverse = \"iowa\" ;", "id": 255}, {"question-split": "train", "question": "what is the shortest river in iowa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"iowa\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "what is the shortest river in iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"iowa\" order by riveralias0.length limit 1 ;", "id": 256}, {"question-split": "train", "question": "what are the major cities in the smallest state in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what are the major cities in the smallest state in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major cities in the smallest state in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ;", "id": 257}, {"question-split": "train", "question": "what is the population of the capital of the largest state through which the mississippi runs", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM RIVER AS RIVERalias0 , STATE AS STATEalias1 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" AND STATEalias1.STATE_NAME = RIVERalias0.TRAVERSE ) ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM RIVER AS RIVERalias0 , STATE AS STATEalias1 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" AND STATEalias1.STATE_NAME = RIVERalias0.TRAVERSE ) ) ;", "question_template": "what is the population of the capital of the largest state through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the population of the capital of the largest state through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = ( select statealias0.capital from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from river as riveralias0, state as statealias1 where riveralias0.river_name = \"mississippi\" and statealias1.state_name = riveralias0.traverse ) ) ;", "id": 258}, {"question-split": "train", "question": "what is the shortest river in the usa", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the shortest river in the usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the shortest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 259}, {"question-split": "train", "question": "what is the shortest river in the usa", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in the usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the shortest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 order by riveralias0.length limit 1 ;", "id": 260}, {"question-split": "train", "question": "what is the shortest river", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the shortest river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 261}, {"question-split": "train", "question": "what is the shortest river", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 order by riveralias0.length limit 1 ;", "id": 262}, {"question-split": "train", "question": "what is the shortest river in the us", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the shortest river in the us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 263}, {"question-split": "train", "question": "what is the shortest river in the us", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in the us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 order by riveralias0.length limit 1 ;", "id": 264}, {"question-split": "train", "question": "what is the shortest river in the united states", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the shortest river in the united states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 265}, {"question-split": "train", "question": "what is the shortest river in the united states", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "what is the shortest river in the united states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the shortest river in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 order by riveralias0.length limit 1 ;", "id": 266}, {"question-split": "train", "question": "which is the shortest river", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which is the shortest river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which is the shortest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 267}, {"question-split": "train", "question": "which is the shortest river", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 ORDER BY RIVERalias0.LENGTH LIMIT 1 ;", "question_template": "which is the shortest river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which is the shortest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 order by riveralias0.length limit 1 ;", "id": 268}, {"question-split": "train", "question": "what is the capital of the state that borders the state that borders texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"texas\" ) ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ) ;", "question_template": "what is the capital of the state that borders the state that borders state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of the state that borders the state that borders texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"texas\" ) ) ;", "id": 269}, {"question-split": "train", "question": "what is the smallest city of the smallest state in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the smallest city of the smallest state in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest city of the smallest state in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ) and cityalias0.state_name in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select min( statealias3.area ) from state as statealias3 ) ) ;", "id": 270}, {"question-split": "train", "question": "how many rivers are in the state with the largest population", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.POPULATION = ( SELECT MAX( STATEalias2.POPULATION ) FROM STATE AS STATEalias2 ) ) AND STATEalias0.STATE_NAME = RIVERalias0.TRAVERSE ;", "sentence_variables": [], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.POPULATION = ( SELECT MAX( STATEalias2.POPULATION ) FROM STATE AS STATEalias2 ) ) AND STATEalias0.STATE_NAME = RIVERalias0.TRAVERSE ;", "question_template": "how many rivers are in the state with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many rivers are in the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0, state as statealias0 where statealias0.state_name = ( select statealias1.state_name from state as statealias1 where statealias1.population = ( select max( statealias2.population ) from state as statealias2 ) ) and statealias0.state_name = riveralias0.traverse ;", "id": 271}, {"question-split": "train", "question": "what is the largest state that borders the state with the lowest point in the usa", "query": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE ( HIGHLOWalias0.STATE_NAME = BORDER_INFOalias0.BORDER ) AND ( STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ) AND HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE ( HIGHLOWalias0.STATE_NAME = BORDER_INFOalias0.BORDER ) AND ( STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ) AND HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "question_template": "what is the largest state that borders the state with the lowest point in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the largest state that borders the state with the lowest point in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select border_infoalias0.state_name from border_info as border_infoalias0, highlow as highlowalias0, state as statealias0 where ( highlowalias0.state_name = border_infoalias0.border ) and ( statealias0.state_name = border_infoalias0.border ) and highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) order by statealias0.area desc limit 1 ;", "id": 272}, {"question-split": "train", "question": "what is the population of the largest state that borders texas", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the population of the largest state that borders state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the population of the largest state that borders texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"texas\" ) ;", "id": 273}, {"question-split": "train", "question": "what state is austin the capital of", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "austin"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what state is capital0 the capital of", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what state is austin the capital of | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 274}, {"question-split": "train", "question": "what states capital is austin", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "dover"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what states capital is capital0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what states capital is austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 275}, {"question-split": "train", "question": "austin is the capital of which state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "sacramento"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "capital0 is the capital of which state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "austin is the capital of which state | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 276}, {"question-split": "train", "question": "what state is austin the capital of", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "columbus"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what state is capital0 the capital of", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what state is austin the capital of | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 277}, {"question-split": "train", "question": "what state has the capital austin", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "salem"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what state has the capital capital0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what state has the capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 278}, {"question-split": "train", "question": "what rivers flow through the state with the largest population", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what rivers flow through the state with the largest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what rivers flow through the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ;", "id": 279}, {"question-split": "train", "question": "what is the largest state that borders the state with the highest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.POPULATION = ( SELECT MAX( STATEalias3.POPULATION ) FROM STATE AS STATEalias3 ) ) ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER IN ( SELECT STATEalias4.STATE_NAME FROM STATE AS STATEalias4 WHERE STATEalias4.POPULATION = ( SELECT MAX( STATEalias5.POPULATION ) FROM STATE AS STATEalias5 ) ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.POPULATION = ( SELECT MAX( STATEalias3.POPULATION ) FROM STATE AS STATEalias3 ) ) ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER IN ( SELECT STATEalias4.STATE_NAME FROM STATE AS STATEalias4 WHERE STATEalias4.POPULATION = ( SELECT MAX( STATEalias5.POPULATION ) FROM STATE AS STATEalias5 ) ) ) ;", "question_template": "what is the largest state that borders the state with the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the largest state that borders the state with the highest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.state_name from border_info as border_infoalias0 where border_infoalias0.border in ( select statealias2.state_name from state as statealias2 where statealias2.population = ( select max( statealias3.population ) from state as statealias3 ) ) ) ) and statealias0.state_name in ( select border_infoalias1.state_name from border_info as border_infoalias1 where border_infoalias1.border in ( select statealias4.state_name from state as statealias4 where statealias4.population = ( select max( statealias5.population ) from state as statealias5 ) ) ) ;", "id": 280}, {"question-split": "train", "question": "what is the capital of the state with the highest point", "query": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "question_template": "what is the capital of the state with the highest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from highlow as highlowalias0, state as statealias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) and statealias0.state_name = highlowalias0.state_name ;", "id": 281}, {"question-split": "train", "question": "what is the capital of the state with the highest elevation", "query": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "question_template": "what is the capital of the state with the highest elevation", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the highest elevation | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from highlow as highlowalias0, state as statealias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) and statealias0.state_name = highlowalias0.state_name ;", "id": 282}, {"question-split": "train", "question": "how many rivers are there in us", "query": "SELECT COUNT( DISTINCT RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( DISTINCT RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 ;", "question_template": "how many rivers are there in us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many rivers are there in us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct riveralias0.river_name ) from river as riveralias0 ;", "id": 283}, {"question-split": "train", "question": "name the 50 capitals in the usa", "query": "SELECT DISTINCT STATEalias0.CAPITAL FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT STATEalias0.CAPITAL FROM STATE AS STATEalias0 ;", "question_template": "name the 50 capitals in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "name the 50 capitals in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct statealias0.capital from state as statealias0 ;", "id": 284}, {"question-split": "train", "question": "how many states have a city named springfield", "query": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"springfield\" ;", "sentence_variables": [{"key": "city_name0", "value": "springfield"}], "sql_template": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many states have a city named city_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "springfield", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_in": "how many states have a city named springfield | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_out": "geoquery | select count( cityalias0.state_name ) from city as cityalias0 where cityalias0.city_name = \"springfield\" ;", "id": 285}, {"question-split": "train", "question": "how many states have a city called springfield", "query": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"springfield\" ;", "sentence_variables": [{"key": "city_name0", "value": "rochester"}], "sql_template": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many states have a city called city_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "springfield", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_in": "how many states have a city called springfield | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_out": "geoquery | select count( cityalias0.state_name ) from city as cityalias0 where cityalias0.city_name = \"springfield\" ;", "id": 286}, {"question-split": "train", "question": "how many states have cities named springfield", "query": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"springfield\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many states have cities named city_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "springfield", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_in": "how many states have cities named springfield | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_out": "geoquery | select count( cityalias0.state_name ) from city as cityalias0 where cityalias0.city_name = \"springfield\" ;", "id": 287}, {"question-split": "train", "question": "how many states have cities or towns named springfield", "query": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"springfield\" ;", "sentence_variables": [{"key": "city_name0", "value": "springfield"}], "sql_template": "SELECT COUNT( CITYalias0.STATE_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many states have cities or towns named city_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "springfield", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_in": "how many states have cities or towns named springfield | geoquery | border_info : state_name , border | city : city_name ( springfield ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( springfield ) , density", "seq_out": "geoquery | select count( cityalias0.state_name ) from city as cityalias0 where cityalias0.city_name = \"springfield\" ;", "id": 288}, {"question-split": "train", "question": "what state borders the state with the smallest population", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what state borders the state with the smallest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders the state with the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select min( statealias1.population ) from state as statealias1 ) ) ;", "id": 289}, {"question-split": "train", "question": "what state is the state with the most rivers", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "what state is the state with the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is the state with the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 290}, {"question-split": "train", "question": "which state contains most rivers", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "which state contains most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state contains most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 291}, {"question-split": "train", "question": "which state has the most rivers running through it", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "which state has the most rivers running through it", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most rivers running through it | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 292}, {"question-split": "train", "question": "what state has the most rivers running through it", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "what state has the most rivers running through it", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most rivers running through it | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 293}, {"question-split": "train", "question": "what are the lakes in states bordering texas", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what are the lakes in states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the lakes in states bordering texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 where lakealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ;", "id": 294}, {"question-split": "train", "question": "how many major cities are in florida", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many major cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "how many major cities are in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"florida\" ;", "id": 295}, {"question-split": "train", "question": "how many major cities are in florida", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "arizona"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many major cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "how many major cities are in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"florida\" ;", "id": 296}, {"question-split": "train", "question": "how many big cities are in florida", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many big cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "how many big cities are in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"florida\" ;", "id": 297}, {"question-split": "train", "question": "how many major cities are there in florida", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "oregon"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many major cities are there in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "how many major cities are there in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"florida\" ;", "id": 298}, {"question-split": "train", "question": "how many major cities are in florida", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many major cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "how many major cities are in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"florida\" ;", "id": 299}, {"question-split": "train", "question": "how high are the highest points of all the states", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "how high are the highest points of all the states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how high are the highest points of all the states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 ;", "id": 300}, {"question-split": "train", "question": "how many states does the mississippi run through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many states does the river_name0 run through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states does the mississippi run through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.river_name = \"mississippi\" ;", "id": 301}, {"question-split": "train", "question": "how many states does the mississippi river flow through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many states does the river_name0 river flow through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states does the mississippi river flow through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.river_name = \"mississippi\" ;", "id": 302}, {"question-split": "train", "question": "how many states does the mississippi river run through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many states does the river_name0 river run through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states does the mississippi river run through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.river_name = \"mississippi\" ;", "id": 303}, {"question-split": "train", "question": "how many states does the mississippi river run through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many states does the river_name0 river run through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states does the mississippi river run through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.river_name = \"mississippi\" ;", "id": 304}, {"question-split": "train", "question": "how many states does the mississippi river run through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ;", "sentence_variables": [{"key": "river_name0", "value": "missouri"}], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many states does the river_name0 river run through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states does the mississippi river run through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.river_name = \"mississippi\" ;", "id": 305}, {"question-split": "train", "question": "what is the longest river in the smallest state in the usa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND RIVERalias0.TRAVERSE IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND RIVERalias0.TRAVERSE IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the longest river in the smallest state in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the longest river in the smallest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ) and riveralias0.traverse in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select min( statealias3.area ) from state as statealias3 ) ) ;", "id": 306}, {"question-split": "train", "question": "what is the average population per square km in pennsylvania", "query": "SELECT STATEalias0.POPULATION / STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"pennsylvania\" ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT STATEalias0.POPULATION / STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the average population per square km in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "pennsylvania", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( pennsylvania ) , border ( pennsylvania ) | city : city_name , population , country_name , state_name ( pennsylvania ) | highlow : state_name ( pennsylvania ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( pennsylvania ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( pennsylvania ) | state : state_name ( pennsylvania ) , population , area , country_name , capital , density", "seq_in": "what is the average population per square km in pennsylvania | geoquery | border_info : state_name ( pennsylvania ) , border ( pennsylvania ) | city : city_name , population , country_name , state_name ( pennsylvania ) | highlow : state_name ( pennsylvania ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( pennsylvania ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( pennsylvania ) | state : state_name ( pennsylvania ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population / statealias0.area from state as statealias0 where statealias0.state_name = \"pennsylvania\" ;", "id": 307}, {"question-split": "train", "question": "what states border states that border states that border florida", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME IN ( SELECT BORDER_INFOalias2.BORDER FROM BORDER_INFO AS BORDER_INFOalias2 WHERE BORDER_INFOalias2.STATE_NAME = \"florida\" ) ) ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME IN ( SELECT BORDER_INFOalias2.BORDER FROM BORDER_INFO AS BORDER_INFOalias2 WHERE BORDER_INFOalias2.STATE_NAME = \"state_name0\" ) ) ;", "question_template": "what states border states that border states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "what states border states that border states that border florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name in ( select border_infoalias2.border from border_info as border_infoalias2 where border_infoalias2.state_name = \"florida\" ) ) ;", "id": 308}, {"question-split": "train", "question": "how many states border at least one other state", "query": "SELECT COUNT( DISTINCT BORDER_INFOalias0.STATE_NAME ) FROM BORDER_INFO AS BORDER_INFOalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( DISTINCT BORDER_INFOalias0.STATE_NAME ) FROM BORDER_INFO AS BORDER_INFOalias0 ;", "question_template": "how many states border at least one other state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states border at least one other state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct border_infoalias0.state_name ) from border_info as border_infoalias0 ;", "id": 309}, {"question-split": "train", "question": "what is the height of the highest mountain in texas", "query": "SELECT MAX( DISTINCT HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT MAX( DISTINCT HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the height of the highest mountain in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the height of the highest mountain in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select max( distinct highlowalias0.highest_elevation ) from highlow as highlowalias0 where highlowalias0.state_name = \"texas\" ;", "id": 310}, {"question-split": "train", "question": "how many states border colorado and border new mexico", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"new mexico\" ) AND BORDER_INFOalias0.STATE_NAME = \"colorado\" ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}, {"key": "state_name1", "value": "colorado"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) AND BORDER_INFOalias0.STATE_NAME = \"state_name1\" ;", "question_template": "how many states border state_name1 and border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}, {"example": "colorado", "location": "both", "name": "state_name1", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico , colorado ) , border ( new mexico , colorado ) | city : city_name , population , country_name , state_name ( new mexico , colorado ) | highlow : state_name ( new mexico , colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( new mexico , colorado ) | state : state_name ( new mexico , colorado ) , population , area , country_name , capital , density", "seq_in": "how many states border colorado and border new mexico | geoquery | border_info : state_name ( new mexico , colorado ) , border ( new mexico , colorado ) | city : city_name , population , country_name , state_name ( new mexico , colorado ) | highlow : state_name ( new mexico , colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( new mexico , colorado ) | state : state_name ( new mexico , colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.border in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"new mexico\" ) and border_infoalias0.state_name = \"colorado\" ;", "id": 311}, {"question-split": "train", "question": "how many major cities are in states bordering utah", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"utah\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "utah"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "how many major cities are in states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "utah", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( utah ) , border ( utah ) | city : city_name , population , country_name , state_name ( utah ) | highlow : state_name ( utah ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( utah ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( utah ) | state : state_name ( utah ) , population , area , country_name , capital , density", "seq_in": "how many major cities are in states bordering utah | geoquery | border_info : state_name ( utah ) , border ( utah ) | city : city_name , population , country_name , state_name ( utah ) | highlow : state_name ( utah ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( utah ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( utah ) | state : state_name ( utah ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"utah\" ) ;", "id": 312}, {"question-split": "train", "question": "how many major cities are in states bordering utah", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"utah\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "how many major cities are in states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "utah", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( utah ) , border ( utah ) | city : city_name , population , country_name , state_name ( utah ) | highlow : state_name ( utah ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( utah ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( utah ) | state : state_name ( utah ) , population , area , country_name , capital , density", "seq_in": "how many major cities are in states bordering utah | geoquery | border_info : state_name ( utah ) , border ( utah ) | city : city_name , population , country_name , state_name ( utah ) | highlow : state_name ( utah ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( utah ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( utah ) | state : state_name ( utah ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"utah\" ) ;", "id": 313}, {"question-split": "train", "question": "what is the total population of the states that border texas", "query": "SELECT SUM( STATEalias0.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT SUM( STATEalias0.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what is the total population of the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the total population of the states that border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.population ) from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"texas\" and statealias0.state_name = border_infoalias0.border ;", "id": 314}, {"question-split": "train", "question": "what are the major lakes in united states ", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 ;", "sentence_variables": [], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 ;", "question_template": "what are the major lakes in united states ", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major lakes in united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 where lakealias0.area > 750 ;", "id": 315}, {"question-split": "train", "question": "show me all the major lakes in the us ", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 ;", "sentence_variables": [], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.AREA > 750 ;", "question_template": "show me all the major lakes in the us ", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "show me all the major lakes in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 where lakealias0.area > 750 ;", "id": 316}, {"question-split": "train", "question": "name all the lakes of us", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 ;", "sentence_variables": [], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 ;", "question_template": "name all the lakes of us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "name all the lakes of us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 ;", "id": 317}, {"question-split": "train", "question": "how many major rivers cross ohio", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"ohio\" ;", "sentence_variables": [{"key": "state_name0", "value": "ohio"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many major rivers cross state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "ohio", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_in": "how many major rivers cross ohio | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.length > 750 and riveralias0.traverse = \"ohio\" ;", "id": 318}, {"question-split": "train", "question": "what state has the shortest river", "query": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what state has the shortest river", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the shortest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 319}, {"question-split": "train", "question": "what states does the shortest river run through", "query": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what states does the shortest river run through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states does the shortest river run through | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 320}, {"question-split": "train", "question": "how many states are next to major rivers", "query": "SELECT COUNT( DISTINCT RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( DISTINCT RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "question_template": "how many states are next to major rivers", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states are next to major rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct riveralias0.traverse ) from river as riveralias0 where riveralias0.length > 750 ;", "id": 321}, {"question-split": "train", "question": "what state borders the least states excluding alaska and excluding hawaii", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias0 ON STATEalias0.STATE_NAME = BORDER_INFOalias0.STATE_NAME WHERE STATEalias0.STATE_NAME <> \"alaska\" AND STATEalias0.STATE_NAME <> \"hawaii\" GROUP BY STATEalias0.STATE_NAME HAVING COUNT( BORDER_INFOalias0.BORDER ) = ( SELECT MIN( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias0 , STATEalias1.STATE_NAME FROM STATE AS STATEalias1 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias1 ON STATEalias1.STATE_NAME = BORDER_INFOalias1.STATE_NAME WHERE STATEalias1.STATE_NAME <> \"alaska\" AND STATEalias1.STATE_NAME <> \"hawaii\" GROUP BY STATEalias1.STATE_NAME ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}, {"key": "state_name1", "value": "hawaii"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias0 ON STATEalias0.STATE_NAME = BORDER_INFOalias0.STATE_NAME WHERE STATEalias0.STATE_NAME <> \"state_name0\" AND STATEalias0.STATE_NAME <> \"state_name1\" GROUP BY STATEalias0.STATE_NAME HAVING COUNT( BORDER_INFOalias0.BORDER ) = ( SELECT MIN( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias0 , STATEalias1.STATE_NAME FROM STATE AS STATEalias1 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias1 ON STATEalias1.STATE_NAME = BORDER_INFOalias1.STATE_NAME WHERE STATEalias1.STATE_NAME <> \"state_name0\" AND STATEalias1.STATE_NAME <> \"state_name1\" GROUP BY STATEalias1.STATE_NAME ) AS DERIVED_TABLEalias0 ) ;", "question_template": "what state borders the least states excluding state_name0 and excluding state_name1", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alaska", "location": "both", "name": "state_name0", "type": "state_name"}, {"example": "hawaii", "location": "both", "name": "state_name1", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska , hawaii ) | highlow : state_name ( alaska , hawaii ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska , hawaii ) , population , area , country_name , capital , density", "seq_in": "what state borders the least states excluding alaska and excluding hawaii | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska , hawaii ) | highlow : state_name ( alaska , hawaii ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska , hawaii ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 left outer join border_info as border_infoalias0 on statealias0.state_name = border_infoalias0.state_name where statealias0.state_name <> \"alaska\" and statealias0.state_name <> \"hawaii\" group by statealias0.state_name having count( border_infoalias0.border ) = ( select min( derived_tablealias0.derived_fieldalias0 ) from ( select count( border_infoalias1.border ) as derived_fieldalias0, statealias1.state_name from state as statealias1 left outer join border_info as border_infoalias1 on statealias1.state_name = border_infoalias1.state_name where statealias1.state_name <> \"alaska\" and statealias1.state_name <> \"hawaii\" group by statealias1.state_name ) as derived_tablealias0 ) ;", "id": 322}, {"question-split": "train", "question": "what is the highest point in the smallest state", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "question_template": "what is the highest point in the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0, state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) and statealias0.state_name = highlowalias0.state_name ;", "id": 323}, {"question-split": "train", "question": "what is the height of mount mckinley", "query": "SELECT MOUNTAINalias0.MOUNTAIN_ALTITUDE FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mckinley\" ;", "sentence_variables": [{"key": "mountain_name0", "value": "mckinley"}], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_ALTITUDE FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mountain_name0\" ;", "question_template": "what is the height of mount mountain_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mckinley", "location": "both", "name": "mountain_name0", "type": "mountain_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the height of mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_altitude from mountain as mountainalias0 where mountainalias0.mountain_name = \"mckinley\" ;", "id": 324}, {"question-split": "train", "question": "what is the highest point in the state with the smallest population", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.POPULATION = ( SELECT MIN( STATEalias2.POPULATION ) FROM STATE AS STATEalias2 ) ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.POPULATION = ( SELECT MIN( STATEalias2.POPULATION ) FROM STATE AS STATEalias2 ) ) ;", "question_template": "what is the highest point in the state with the smallest population", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the state with the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0, state as statealias0 where statealias0.state_name = highlowalias0.state_name and statealias0.state_name in ( select statealias1.state_name from state as statealias1 where statealias1.population = ( select min( statealias2.population ) from state as statealias2 ) ) ;", "id": 325}, {"question-split": "train", "question": "which rivers run through the state with the lowest elevation in the usa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "question_template": "which rivers run through the state with the lowest elevation in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "which rivers run through the state with the lowest elevation in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ) ;", "id": 326}, {"question-split": "train", "question": "what rivers run through the state with the lowest point in the usa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "question_template": "what rivers run through the state with the lowest point in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what rivers run through the state with the lowest point in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ) ;", "id": 327}, {"question-split": "train", "question": "what mountains are in alaska", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.STATE_NAME = \"alaska\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what mountains are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alaska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska ) | highlow : state_name ( alaska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska ) , population , area , country_name , capital , density", "seq_in": "what mountains are in alaska | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska ) | highlow : state_name ( alaska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.state_name = \"alaska\" ;", "id": 328}, {"question-split": "train", "question": "how many states have major rivers", "query": "SELECT COUNT( DISTINCT RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( DISTINCT RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "question_template": "how many states have major rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states have major rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct riveralias0.traverse ) from river as riveralias0 where riveralias0.length > 750 ;", "id": 329}, {"question-split": "train", "question": "what is the smallest state through which the longest river runs", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias2.TRAVERSE FROM RIVER AS RIVERalias2 WHERE RIVERalias2.LENGTH = ( SELECT MAX( RIVERalias3.LENGTH ) FROM RIVER AS RIVERalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias2.TRAVERSE FROM RIVER AS RIVERalias2 WHERE RIVERalias2.LENGTH = ( SELECT MAX( RIVERalias3.LENGTH ) FROM RIVER AS RIVERalias3 ) ) ;", "question_template": "what is the smallest state through which the longest river runs", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest state through which the longest river runs | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ) ) and statealias0.state_name in ( select riveralias2.traverse from river as riveralias2 where riveralias2.length = ( select max( riveralias3.length ) from river as riveralias3 ) ) ;", "id": 330}, {"question-split": "train", "question": "what is the largest state traversed by the mississippi river", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what is the largest state traversed by the river_name0 river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the largest state traversed by the mississippi river | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) and statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) ;", "id": 331}, {"question-split": "train", "question": "what is the largest of the state that the mississippi runs through", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "rio grande"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what is the largest of the state that the river_name0 runs through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the largest of the state that the mississippi runs through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) and statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) ;", "id": 332}, {"question-split": "train", "question": "how many rivers run through the states bordering colorado", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"colorado\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "how many rivers run through the states bordering state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how many rivers run through the states bordering colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"colorado\" ) ;", "id": 333}, {"question-split": "train", "question": "what is the longest river that does not run through texas", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME NOT IN ( SELECT RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 WHERE RIVERalias2.TRAVERSE = \"texas\" ) ) AND RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias3.RIVER_NAME FROM RIVER AS RIVERalias3 WHERE RIVERalias3.TRAVERSE = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME NOT IN ( SELECT RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 WHERE RIVERalias2.TRAVERSE = \"state_name0\" ) ) AND RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias3.RIVER_NAME FROM RIVER AS RIVERalias3 WHERE RIVERalias3.TRAVERSE = \"state_name0\" ) ;", "question_template": "what is the longest river that does not run through state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that does not run through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.river_name not in ( select riveralias2.river_name from river as riveralias2 where riveralias2.traverse = \"texas\" ) ) and riveralias0.river_name not in ( select riveralias3.river_name from river as riveralias3 where riveralias3.traverse = \"texas\" ) ;", "id": 334}, {"question-split": "train", "question": "what are the largest cities in the states that border the largest state", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION IN ( SELECT DERIVED_TABLEalias1.DERIVED_FIELDalias0 FROM ( SELECT MAX( CITYalias1.POPULATION ) AS DERIVED_FIELDalias0 , STATEalias0.STATE_NAME FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = CITYalias1.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) GROUP BY STATEalias0.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION IN ( SELECT DERIVED_TABLEalias1.DERIVED_FIELDalias0 FROM ( SELECT MAX( CITYalias1.POPULATION ) AS DERIVED_FIELDalias0 , STATEalias0.STATE_NAME FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = CITYalias1.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) GROUP BY STATEalias0.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "question_template": "what are the largest cities in the states that border the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the largest cities in the states that border the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population in ( select derived_tablealias1.derived_fieldalias0 from ( select max( cityalias1.population ) as derived_fieldalias0, statealias0.state_name from city as cityalias1, state as statealias0 where statealias0.state_name = cityalias1.state_name and statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias1 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ) group by statealias0.state_name ) as derived_tablealias1 ) ;", "id": 335}, {"question-split": "train", "question": "what state has no rivers", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ) ;", "question_template": "what state has no rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has no rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name not in ( select riveralias0.traverse from river as riveralias0 ) ;", "id": 336}, {"question-split": "train", "question": "how many rivers are in the state with the highest point", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM HIGHLOW AS HIGHLOWalias0 , RIVER AS RIVERalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND RIVERalias0.TRAVERSE = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM HIGHLOW AS HIGHLOWalias0 , RIVER AS RIVERalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND RIVERalias0.TRAVERSE = HIGHLOWalias0.STATE_NAME ;", "question_template": "how many rivers are in the state with the highest point", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many rivers are in the state with the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from highlow as highlowalias0, river as riveralias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) and riveralias0.traverse = highlowalias0.state_name ;", "id": 337}, {"question-split": "train", "question": "what state has the most cities", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "question_template": "what state has the most cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 group by cityalias0.state_name order by count( 1 ) desc limit 1 ;", "id": 338}, {"question-split": "train", "question": "what is the capital of the largest state", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital of the largest state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 339}, {"question-split": "train", "question": "what is the capital city of the largest state in the us", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital city of the largest state in the us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital city of the largest state in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 340}, {"question-split": "train", "question": "how many cities are in montana", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "how many cities are in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.state_name = \"montana\" ;", "id": 341}, {"question-split": "train", "question": "how many cities are in montana", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "louisiana"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "how many cities are in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.state_name = \"montana\" ;", "id": 342}, {"question-split": "train", "question": "how many cities does montana have", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many cities does state_name0 have", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "how many cities does montana have | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.state_name = \"montana\" ;", "id": 343}, {"question-split": "train", "question": "what is the highest point in the state with the most rivers", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE ( HIGHLOWalias0.STATE_NAME = ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = RIVERalias0.TRAVERSE GROUP BY STATEalias0.STATE_NAME ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE ( HIGHLOWalias0.STATE_NAME = ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = RIVERalias0.TRAVERSE GROUP BY STATEalias0.STATE_NAME ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ) ) ;", "question_template": "what is the highest point in the state with the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in the state with the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where ( highlowalias0.state_name = ( select riveralias0.traverse from river as riveralias0, state as statealias0 where statealias0.state_name = riveralias0.traverse group by statealias0.state_name order by count( riveralias0.river_name ) desc limit 1 ) ) ;", "id": 344}, {"question-split": "train", "question": "what is the area of the states", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 ;", "question_template": "what is the area of the states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of the states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 ;", "id": 345}, {"question-split": "train", "question": "how many states in the us does the shortest river run through", "query": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT COUNT( RIVERalias0.TRAVERSE ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "how many states in the us does the shortest river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states in the us does the shortest river run through | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.traverse ) from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 346}, {"question-split": "train", "question": "what is the average population per square km in the us", "query": "SELECT SUM( STATEalias0.POPULATION ) / SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.POPULATION ) / SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the average population per square km in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the average population per square km in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.population ) / sum( statealias0.area ) from state as statealias0 ;", "id": 347}, {"question-split": "train", "question": "what rivers flow through states that border the state with the largest population", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ) ;", "question_template": "what rivers flow through states that border the state with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what rivers flow through states that border the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ) ;", "id": 348}, {"question-split": "train", "question": "what are the major cities in the largest state", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what are the major cities in the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major cities in the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ;", "id": 349}, {"question-split": "train", "question": "what is the area of the smallest state", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the area of the smallest state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 350}, {"question-split": "train", "question": "which states border the longest river in the usa", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "question_template": "which states border the longest river in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "which states border the longest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ) ;", "id": 351}, {"question-split": "train", "question": "what is the population density of the state with the smallest population", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population density of the state with the smallest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population density of the state with the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.population = ( select min( statealias1.population ) from state as statealias1 ) ;", "id": 352}, {"question-split": "train", "question": "how many states border the mississippi river", "query": "SELECT COUNT( DISTINCT BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT COUNT( DISTINCT BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "how many states border the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "how many states border the mississippi river | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 353}, {"question-split": "train", "question": "what states have a capital that is the highest point in the state", "query": "SELECT STATEalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = HIGHLOWalias0.HIGHEST_POINT ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = HIGHLOWalias0.HIGHEST_POINT ;", "question_template": "what states have a capital that is the highest point in the state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have a capital that is the highest point in the state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from highlow as highlowalias0, state as statealias0 where statealias0.capital = highlowalias0.highest_point ;", "id": 354}, {"question-split": "train", "question": "what is the population of the capital of the smallest state", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what is the population of the capital of the smallest state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the capital of the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = ( select statealias0.capital from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ;", "id": 355}, {"question-split": "train", "question": "what is the population of the capital of the largest state", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what is the population of the capital of the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the capital of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = ( select statealias0.capital from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ;", "id": 356}, {"question-split": "train", "question": "what is the lowest point of the state with the largest area", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.AREA = ( SELECT MAX( STATEalias2.AREA ) FROM STATE AS STATEalias2 ) ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.AREA = ( SELECT MAX( STATEalias2.AREA ) FROM STATE AS STATEalias2 ) ) ;", "question_template": "what is the lowest point of the state with the largest area", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the lowest point of the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0, state as statealias0 where statealias0.state_name = highlowalias0.state_name and statealias0.state_name in ( select statealias1.state_name from state as statealias1 where statealias1.area = ( select max( statealias2.area ) from state as statealias2 ) ) ;", "id": 357}, {"question-split": "train", "question": "what state has the smallest capital", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( DERIVED_TABLEalias0.POPULATION ) FROM ( SELECT CITYalias1.POPULATION FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( DERIVED_TABLEalias0.POPULATION ) FROM ( SELECT CITYalias1.POPULATION FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) AS DERIVED_TABLEalias0 ) ;", "question_template": "what state has the smallest capital", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the smallest capital | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select min( derived_tablealias0.population ) from ( select cityalias1.population from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) as derived_tablealias0 ) ;", "id": 358}, {"question-split": "train", "question": "what states border states that border the state with the largest population", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 , BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = BORDER_INFOalias0.STATE_NAME AND BORDER_INFOalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 , BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.BORDER = BORDER_INFOalias0.STATE_NAME AND BORDER_INFOalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what states border states that border the state with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border states that border the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0, border_info as border_infoalias1 where border_infoalias1.border = border_infoalias0.state_name and border_infoalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ;", "id": 359}, {"question-split": "train", "question": "what is the capital of the state that borders the most states", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "question_template": "what is the capital of the state that borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ) ;", "id": 360}, {"question-split": "train", "question": "what is the size of the largest state in the usa", "query": "SELECT MAX( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the size of the largest state in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the size of the largest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select max( statealias0.area ) from state as statealias0 ;", "id": 361}, {"question-split": "train", "question": "what is the size of the largest state in the usa", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the size of the largest state in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the size of the largest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 362}, {"question-split": "train", "question": "what is the area of the largest state", "query": "SELECT MAX( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the area of the largest state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select max( statealias0.area ) from state as statealias0 ;", "id": 363}, {"question-split": "train", "question": "what is the area of the largest state", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the area of the largest state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 364}, {"question-split": "train", "question": "of the states washed by the mississippi river which has the lowest point", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 , RIVER AS RIVERalias0 WHERE ( RIVERalias0.RIVER_NAME = \"mississippi\" ) AND ( RIVERalias0.TRAVERSE = HIGHLOWalias1.STATE_NAME ) ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 , RIVER AS RIVERalias0 WHERE ( RIVERalias0.RIVER_NAME = \"river_name0\" ) AND ( RIVERalias0.TRAVERSE = HIGHLOWalias1.STATE_NAME ) ) ;", "question_template": "of the states washed by the river_name0 river which has the lowest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "of the states washed by the mississippi river which has the lowest point | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1, river as riveralias0 where ( riveralias0.river_name = \"mississippi\" ) and ( riveralias0.traverse = highlowalias1.state_name ) ) ;", "id": 365}, {"question-split": "train", "question": "how many rivers in texas are longer than the red", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > ALL ( SELECT RIVERalias1.LENGTH FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"red\" ) AND RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "river_name0", "value": "red"}, {"key": "state_name0", "value": "texas"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > ALL ( SELECT RIVERalias1.LENGTH FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers in state_name0 are longer than the river_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "red", "location": "both", "name": "river_name0", "type": "river_name"}, {"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name ( red ) , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( red ) , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how many rivers in texas are longer than the red | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name ( red ) , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( red ) , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.length > all ( select riveralias1.length from river as riveralias1 where riveralias1.river_name = \"red\" ) and riveralias0.traverse = \"texas\" ;", "id": 366}, {"question-split": "train", "question": "which capitals are not major cities", "query": "SELECT STATEalias0.CAPITAL FROM CITY AS CITYalias0 , STATE AS STATEalias0 WHERE CITYalias0.POPULATION <= 150000 AND STATEalias0.CAPITAL = CITYalias0.CITY_NAME ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM CITY AS CITYalias0 , STATE AS STATEalias0 WHERE CITYalias0.POPULATION <= 150000 AND STATEalias0.CAPITAL = CITYalias0.CITY_NAME ;", "question_template": "which capitals are not major cities", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which capitals are not major cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from city as cityalias0, state as statealias0 where cityalias0.population <= 150000 and statealias0.capital = cityalias0.city_name ;", "id": 367}, {"question-split": "train", "question": "how high is the highest point in the largest state", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "question_template": "how high is the highest point in the largest state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how high is the highest point in the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0, state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) and statealias0.state_name = highlowalias0.state_name ;", "id": 368}, {"question-split": "train", "question": "give me the cities in usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 ;", "question_template": "give me the cities in usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "give me the cities in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 ;", "id": 369}, {"question-split": "train", "question": "what is the highest point of the state with the largest area", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.AREA = ( SELECT MAX( STATEalias2.AREA ) FROM STATE AS STATEalias2 ) ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME AND STATEalias0.STATE_NAME IN ( SELECT STATEalias1.STATE_NAME FROM STATE AS STATEalias1 WHERE STATEalias1.AREA = ( SELECT MAX( STATEalias2.AREA ) FROM STATE AS STATEalias2 ) ) ;", "question_template": "what is the highest point of the state with the largest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point of the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0, state as statealias0 where statealias0.state_name = highlowalias0.state_name and statealias0.state_name in ( select statealias1.state_name from state as statealias1 where statealias1.area = ( select max( statealias2.area ) from state as statealias2 ) ) ;", "id": 370}, {"question-split": "train", "question": "where is new hampshire", "query": "SELECT STATEalias0.COUNTRY_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"new hampshire\" ;", "sentence_variables": [{"key": "state_name0", "value": "new hampshire"}], "sql_template": "SELECT STATEalias0.COUNTRY_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new hampshire", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new hampshire ) , border ( new hampshire ) | city : city_name , population , country_name , state_name ( new hampshire ) | highlow : state_name ( new hampshire ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new hampshire ) | state : state_name ( new hampshire ) , population , area , country_name , capital , density", "seq_in": "where is new hampshire | geoquery | border_info : state_name ( new hampshire ) , border ( new hampshire ) | city : city_name , population , country_name , state_name ( new hampshire ) | highlow : state_name ( new hampshire ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new hampshire ) | state : state_name ( new hampshire ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.country_name from state as statealias0 where statealias0.state_name = \"new hampshire\" ;", "id": 371}, {"question-split": "train", "question": "where is new hampshire", "query": "SELECT STATEalias0.COUNTRY_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"new hampshire\" ;", "sentence_variables": [{"key": "state_name0", "value": "massachusetts"}], "sql_template": "SELECT STATEalias0.COUNTRY_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new hampshire", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new hampshire ) , border ( new hampshire ) | city : city_name , population , country_name , state_name ( new hampshire ) | highlow : state_name ( new hampshire ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new hampshire ) | state : state_name ( new hampshire ) , population , area , country_name , capital , density", "seq_in": "where is new hampshire | geoquery | border_info : state_name ( new hampshire ) , border ( new hampshire ) | city : city_name , population , country_name , state_name ( new hampshire ) | highlow : state_name ( new hampshire ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new hampshire ) | state : state_name ( new hampshire ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.country_name from state as statealias0 where statealias0.state_name = \"new hampshire\" ;", "id": 372}, {"question-split": "train", "question": "what state has the largest urban population", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY SUM( CITYalias0.POPULATION ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY SUM( CITYalias0.POPULATION ) DESC LIMIT 1 ;", "question_template": "what state has the largest urban population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest urban population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 group by cityalias0.state_name order by sum( cityalias0.population ) desc limit 1 ;", "id": 373}, {"question-split": "train", "question": "what state borders the least states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias0 ON STATEalias0.STATE_NAME = BORDER_INFOalias0.STATE_NAME GROUP BY STATEalias0.STATE_NAME HAVING COUNT( BORDER_INFOalias0.BORDER ) = ( SELECT MIN( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias0 , STATEalias1.STATE_NAME FROM STATE AS STATEalias1 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias1 ON STATEalias1.STATE_NAME = BORDER_INFOalias1.STATE_NAME GROUP BY STATEalias1.STATE_NAME ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias0 ON STATEalias0.STATE_NAME = BORDER_INFOalias0.STATE_NAME GROUP BY STATEalias0.STATE_NAME HAVING COUNT( BORDER_INFOalias0.BORDER ) = ( SELECT MIN( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias0 , STATEalias1.STATE_NAME FROM STATE AS STATEalias1 LEFT OUTER JOIN BORDER_INFO AS BORDER_INFOalias1 ON STATEalias1.STATE_NAME = BORDER_INFOalias1.STATE_NAME GROUP BY STATEalias1.STATE_NAME ) AS DERIVED_TABLEalias0 ) ;", "question_template": "what state borders the least states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders the least states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 left outer join border_info as border_infoalias0 on statealias0.state_name = border_infoalias0.state_name group by statealias0.state_name having count( border_infoalias0.border ) = ( select min( derived_tablealias0.derived_fieldalias0 ) from ( select count( border_infoalias1.border ) as derived_fieldalias0, statealias1.state_name from state as statealias1 left outer join border_info as border_infoalias1 on statealias1.state_name = border_infoalias1.state_name group by statealias1.state_name ) as derived_tablealias0 ) ;", "id": 374}, {"question-split": "train", "question": "what are the major rivers in the us", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "question_template": "what are the major rivers in the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the major rivers in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length > 750 ;", "id": 375}, {"question-split": "train", "question": "how many cities named austin are there in the usa", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"austin\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many cities named city_name0 are there in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital ( austin ) , density", "seq_in": "how many cities named austin are there in the usa | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital ( austin ) , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 where cityalias0.city_name = \"austin\" ;", "id": 376}, {"question-split": "train", "question": "how many people live in the smallest state bordering wyoming", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"wyoming\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"wyoming\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "wyoming"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "how many people live in the smallest state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "wyoming", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_in": "how many people live in the smallest state bordering wyoming | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"wyoming\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"wyoming\" ) ;", "id": 377}, {"question-split": "train", "question": "what is the length of the colorado river in texas", "query": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" AND RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}, {"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the length of the river_name0 river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}, {"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado , texas ) , border ( colorado , texas ) | city : city_name , population , country_name , state_name ( colorado , texas ) | highlow : state_name ( colorado , texas ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado , texas ) | state : state_name ( colorado , texas ) , population , area , country_name , capital , density", "seq_in": "what is the length of the colorado river in texas | geoquery | border_info : state_name ( colorado , texas ) , border ( colorado , texas ) | city : city_name , population , country_name , state_name ( colorado , texas ) | highlow : state_name ( colorado , texas ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado , texas ) | state : state_name ( colorado , texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" and riveralias0.traverse = \"texas\" ;", "id": 378}, {"question-split": "train", "question": "what is the population density in the state with capital austin", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ;", "sentence_variables": [{"key": "capital0", "value": "austin"}], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what is the population density in the state with capital capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what is the population density in the state with capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.capital = \"austin\" ;", "id": 379}, {"question-split": "train", "question": "how long is the shortest river in the usa", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MIN( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "how long is the shortest river in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how long is the shortest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.length = ( select min( riveralias1.length ) from river as riveralias1 ) ;", "id": 380}, {"question-split": "train", "question": "what is the elevation of death valley", "query": "SELECT HIGHLOWalias0.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_POINT = \"death valley\" ;", "sentence_variables": [{"key": "lowest_point0", "value": "death valley"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_POINT = \"lowest_point0\" ;", "question_template": "what is the elevation of lowest_point0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "death valley", "location": "both", "name": "lowest_point0", "type": "lowest_point"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point ( death valley ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the elevation of death valley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point ( death valley ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_elevation from highlow as highlowalias0 where highlowalias0.lowest_point = \"death valley\" ;", "id": 381}, {"question-split": "train", "question": "what is the average population of the us by state", "query": "SELECT AVG ( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT AVG ( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "question_template": "what is the average population of the us by state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the average population of the us by state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select avg ( statealias0.population ) from state as statealias0 ;", "id": 382}, {"question-split": "train", "question": "what rivers flow through the largest state", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what rivers flow through the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what rivers flow through the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ;", "id": 383}, {"question-split": "train", "question": "what states border states that border states that border states that border texas", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 , BORDER_INFO AS BORDER_INFOalias1 , BORDER_INFO AS BORDER_INFOalias2 , BORDER_INFO AS BORDER_INFOalias3 WHERE BORDER_INFOalias1.BORDER = BORDER_INFOalias0.STATE_NAME AND BORDER_INFOalias2.BORDER = BORDER_INFOalias1.STATE_NAME AND BORDER_INFOalias3.BORDER = BORDER_INFOalias2.STATE_NAME AND BORDER_INFOalias3.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 , BORDER_INFO AS BORDER_INFOalias1 , BORDER_INFO AS BORDER_INFOalias2 , BORDER_INFO AS BORDER_INFOalias3 WHERE BORDER_INFOalias1.BORDER = BORDER_INFOalias0.STATE_NAME AND BORDER_INFOalias2.BORDER = BORDER_INFOalias1.STATE_NAME AND BORDER_INFOalias3.BORDER = BORDER_INFOalias2.STATE_NAME AND BORDER_INFOalias3.STATE_NAME = \"state_name0\" ;", "question_template": "what states border states that border states that border states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what states border states that border states that border states that border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0, border_info as border_infoalias1, border_info as border_infoalias2, border_info as border_infoalias3 where border_infoalias1.border = border_infoalias0.state_name and border_infoalias2.border = border_infoalias1.state_name and border_infoalias3.border = border_infoalias2.state_name and border_infoalias3.state_name = \"texas\" ;", "id": 384}, {"question-split": "train", "question": "how many states border on the state whose capital is boston", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"boston\" ) ;", "sentence_variables": [{"key": "capital0", "value": "boston"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ;", "question_template": "how many states border on the state whose capital is capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "boston", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( boston ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( boston ) , density", "seq_in": "how many states border on the state whose capital is boston | geoquery | border_info : state_name , border | city : city_name ( boston ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( boston ) , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"boston\" ) ;", "id": 385}, {"question-split": "train", "question": "what are the major cities in the states through which the major river in virginia runs", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.LENGTH > 750 AND RIVERalias1.TRAVERSE = \"virginia\" ) ) ;", "sentence_variables": [{"key": "state_name0", "value": "virginia"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.LENGTH > 750 AND RIVERalias1.TRAVERSE = \"state_name0\" ) ) ;", "question_template": "what are the major cities in the states through which the major river in state_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in the states through which the major river in virginia runs | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name in ( select riveralias1.river_name from river as riveralias1 where riveralias1.length > 750 and riveralias1.traverse = \"virginia\" ) ) ;", "id": 386}, {"question-split": "train", "question": "which states does not border texas", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "which states does not border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "which states does not border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name not in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ;", "id": 387}, {"question-split": "train", "question": "how many states border the largest state", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "how many states border the largest state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states border the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ;", "id": 388}, {"question-split": "train", "question": "which state is the largest city in montana in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"montana\" ) AND CITYalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which state is the largest city in state_name0 in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "which state is the largest city in montana in | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"montana\" ) and cityalias0.state_name = \"montana\" ;", "id": 389}, {"question-split": "train", "question": "what is the longest river in the state with the highest point", "query": "SELECT RIVERalias0.RIVER_NAME FROM HIGHLOW AS HIGHLOWalias0 , RIVER AS RIVERalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND RIVERalias0.TRAVERSE = HIGHLOWalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM HIGHLOW AS HIGHLOWalias0 , RIVER AS RIVERalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND RIVERalias0.TRAVERSE = HIGHLOWalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "question_template": "what is the longest river in the state with the highest point", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in the state with the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from highlow as highlowalias0, river as riveralias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) and riveralias0.traverse = highlowalias0.state_name order by riveralias0.length desc limit 1 ;", "id": 390}]